﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClientApplication
{
    public delegate void GetContestantEventHandler(object sender, ContestantAddedEventArgs e);
    public delegate void JumpDoneEventHandler(object sender, EventArgs e);
    public delegate void ContestEndedEventHandler(object sender, EventArgs e);
    interface IAdmin
    {
        event ContestEndedEventHandler ContestEnded;
        event GetContestantEventHandler GetContestant;
        event JumpDoneEventHandler JumpDone;
        void inputRules(double height, int amountJudges, int sex, DateTime date, string place);
        void insertContestant(Contestant c);
        void clearContestant();
        void clearRules();
        void inputJudges(List<Judge> jList);
        void BroadCastJumpCode(string jumpCode, Contestant contestant);
        void GetActiveContestant();
    }
}
